Added test for invalid forms