Use a different database for tests
Send email upon user registration

ref: #40