added tests for signing in and out.