Complete form tests. First step refactoring is done.