added test-hook to cleanup database file