add test suite for CentOS and tidy unit tests