fix cram tests to be travis compatible