added tests to survey and sign-in feature