fixed typos and added test for forms