Finished writing the test for checkUserStatus()