Sync cmake tests with tests in makefile.am