fixed typo, added teardown method, fixed db config