Some minor enhancements, SHOULD_MEM_EQUAL

I've been using cbehave for a bit and these were enhancements that I made along the way. Please see the commits for details. Hope they are useful.