Fix assertion message to include compared values
and add a test to ensure it doesn't break again