ticket:6 updated tests to support ajax mode in the form