Make test asserts more useful

This should make it easier to tell why a test is failing when it does.