Added cleanup to tests

Tests did not remove data base tables they created.