Unit testing for CERR. Need to add more coverage.