Added a form commit handling. Wrote functional test checking previously inserted items