more tests
Refactor links to buttons
Add new model and migrate
Add test for detail view