Improved assertion message to get better insight into why test fails sometimes