change test to be able to handle lambda forms