Added printing to show the condition when an expect fails.