updated test case for check_account
modified test_check_account