Tests for form models