added auth test
added tests