fix cram tests some more