A couple of assert helper functions for go unit testing