Moved helper method from "this" to closure scope as Jasmine has a different "this" context.
Moved helper method from "this" to closure scope as Jasmine has a different "this" context.
Moved helper method from "this" to closure scope as Jasmine has a different "this" context. Brough in missing test API
Moved helper method from "this" to closure scope as Jasmine has a different "this" context.