added auth unit test