Add unit tests for FlushLock & FormSubmitted
Merge pull request #7 from tomphp/testing/creating-more-tests

Add unit tests for FlushLock & FormSubmitted