added tests for openid