Add a layer to tests with a mysql database