Added unit test (layer in node.layers).