refactor switches form_for to form_tag
improved testing helpers