diff --git a/source/RobotAPI/components/ArViz/test/Client/PointCloudTest.cpp b/source/RobotAPI/components/ArViz/test/Client/PointCloudTest.cpp
index 9a645c68fde47883d6e969e18117b6bc695507c4..6be2eb5b453ba9fb1008265c0307a069933fadf9 100644
--- a/source/RobotAPI/components/ArViz/test/Client/PointCloudTest.cpp
+++ b/source/RobotAPI/components/ArViz/test/Client/PointCloudTest.cpp
@@ -178,6 +178,23 @@ BOOST_AUTO_TEST_CASE(test_addPoint_color_types)
 BOOST_FIXTURE_TEST_SUITE(test_pointCloud_suite, PointCloudFixture)
 
 
+
+BOOST_AUTO_TEST_CASE(test_pointCloud_colorByLabel)
+{
+    bool colorByLabel = false;
+
+    pc.pointCloud(points, colorByLabel);
+    BOOST_CHECK_EQUAL(ps.size(), 1);
+    BOOST_CHECK_EQUAL(ps.front().color, simox::Color(1, 2, 3, 4));
+
+    colorByLabel = true;
+
+    pc.pointCloud(points, colorByLabel);
+    BOOST_CHECK_EQUAL(ps.size(), 1);
+    BOOST_CHECK_EQUAL(ps.front().color, simox::color::GlasbeyLUT::at(points.front().label));
+}
+
+
 BOOST_AUTO_TEST_CASE(test_pointCloud_color_func)
 {
     // Test returning a viz::Color.