Changing database tests to use local db setup

- changed to use localDB
- partial change to creating database in each test fixture based on sql
schema