added test functionality to submit button