clear tests properly