contact form in themes need help

sorry for my question I am new on Themeforest and need to upload my first theme on it
I have made a contact form with ajax jq and php file, but I do not know how to check if it working or not ,how does authors make contact form workable in their themes ,
sorry for bad English