Parring test function added