protect against exceptions from the test
fix bug in log level
more helper functions
update example to check checkboxes