test db script for travis optimization