Configured multiples database per environment and refactored tests to work with this