Added test for slice form validation