added tests for the registration form submission
[#3]
moving db tests into their own folder
[#3]