test add and fix existing tests now that view can generate XML and JS