Added tests for form