Convert some tests to use the database
Use database connected controller for some tests