Add test for login, louout and register