better diagnostic in unit tests

this patch fixes the ordering of expected/found in the
output and prints booleans properly