fixed bug in crmodels startup, and cleaned up tests