fixed testing to include cleaning db