Added missing asserts