Error when writing test cases with Move - Unbound Module Member

when writing test cases within a move module as below

#[test]
fun test_module_init() {
    use sui::test_scenario;

    let creator = @0x1;
    
    let testvalue = 1;
    let expectedvalue = 1;

    assert!(testvalue == expectedvalue);
}

and then run testing with the below cmd

sui move test

and if getting the below error message

module ‘std::unit_test’

error[E03003]: unbound module member
┌─ /Users/jinalipabasara/.move/https___github_com_MystenLabs_sui_git_framework__testnet/crates/sui-framework/packages/sui-framework/tests/event_tests.move:5:1

5 │ ╭ module sui::event_tests {
6 │ │ use sui::event;
7 │ │ use sui::test_utils::assert_eq;
8 │ │
· │
58 │ │ }
59 │ │ }
│ ╰─^ Invalid module access. Unbound function ‘create_signers_for_testing’ in module

Solution: I resolved the issue by upgrading the SUI version using the command below.

brew upgrade sui

I hope this helps!