unit test form-append/prepend