Revert "Fix test/CMakeLists.txt when building without visualization"

This reverts commit 23cdd984cfcca18283fa6be27a4dae02b58519ac.

As detailed in #478, we can't set different SUBSYS_DEPS with CMake
syntax.