Improved MySQL integration
Fixed ControllerRepositoryTest using real DB