improved test to get more detailed information in case of failure (#4)