Added more asserts to core test