Tidies up file as per jshint.
Adds @jlaxson's unit test to nested record suite.
Tidies up file as per jshint.
Adds test to show regression in isEnabled behavior when the view is initialized with isEnabled set to false.
Fixes brief regression highlighted by previous commit unit test.
Adds unit test to prevent any regressions when isVisible is initialized as false.