cleaned up test db path for tests.
fixed broken test