Adding enum tests to c++