Refactor FlaskTestCase to extract a FixturesTestCase
Add some tests for Course.search