Add more assert functions

I needed more assert functions for testing. I think this is useful for every one.