modified some assertions to better reflect their function