adding tests for Form and Controller logic