add creg test to "make check"