Tests for DB & controller wrappers.