Moved common code into test utility functions. Fixed various test issues Implemented Refresh Database Test which is kind of an end-to-end test
Moved common code into test utility functions.
Fixed various test issues
Implemented Refresh Database Test which is kind of an end-to-end test

freneticmonkey/migrate,freneticmonkey/migrate