Use mysql for tests
Fix indentation
Use capybara
Improve test
Merge branch 'tests' of github.com:cubesystems/releaf into tests