Some tests for authentication