added test for NodeView.onClose, removed some Q.done