Added tests for the auth filter