simple test cases for auth