this is the spec runner under jasmine, rather than the test case as it is under JSTestDriver; moved helper function into a closure variable so executing context can reference it.
Moved helper method from "this" to closure scope as Jasmine has a different "this" context. Made "TODO" assertion type fail rather than pass while not implemented.
Removed duplicate test, added assertion that was causing ReferenceError