Test integration with cmake with target "check"