Started writing tests for user registration.