implement test data insertion and cleanup