removed delete to test function