getting test db working