fixed minor issue in tests
updated how Travis initializes the db