Making tests for registration, log in, log out work