creating a function to create and drop to db in preperation for unit tests