Mac build fix
#964 Added test for checking correct export of nonmanifold objects