added temp db settings, changed assertEquals to assertEqual