Delete test function