Helper trait for tests for float comparisons
Check that the protocol test succeeded & print the pretty error if it did not