Add test to cmake #3658