Added hamcrest condition to intermediary result handler