simple assertion extensions to aid in testing, stuff that should have been in the BCL but wasn't