Added asserts for JUnit tests

Hi,

I added some common asserts that are used when writing tests.