made back sql script for running tests