fixed tests and made it so fixtures are wiped at appropriate time