tests for node collection handler