initial setup for tests. tests use a separate database called test.db (s...

...till part of gitignore) and use capybara for testing funs