tests for cob_common.py