clean up libvisio formula
simplify test for libvisio formula