fixed tests and db gem sqlite3