Updated db wrapper for more security
clear test data