fix test.sh script to insert test data in db