include preventdoublesubmit test
added test for preventdoublesubmit pattern