change building test database methode for travis