Add some assertions to CArray