fixed tests, added more verbose error log on condition evaluation failure