Add more assertions to BasicAdapter primitives