Update test database
Tweak views to make testing easier
Add tests for priorities functionality