modified the tests and added test that check the idle timeout of mysql