Unit tests now use thier own temp db, formating fixes in test