test clearing db