create_test function

Create a cutting test function