simple form parsing with tests