refactored tests to use shared example working on creating sql db