Test code for improvements to visibility handling, node support