Unit setting and test mode setting Backbone tweaks

Moved `units` to be local to this view, for better encapsulation.