optimized loop
added ability to specify an exception expected in return
fixed for proper exception handling
code tidyup
fixed for exception handling
improved dsl terminology
smarter naming again
smarter naming again
fixed for new dsl
fixed for new dsl
fixed tests and removed ones that no longer made sense