unit tests: Extend c++ version check to include c++1y/c++1z