Remove __main__ section in tests.
Rename views to nodeviews and initial registry tests
Publish method in NodePublisher