Finally setting up databases to work in a test environment and in production using mysql and slite/:memory: