cmake: enable testing for all CMAKE_BUILD_TYPE