- added some more asserts. tagged 0.3.1