All tests now using Jasmine context.
All tests now using Jasmine context.

This involved changing pretty much all function declarations to function expressions as that was preferable over handling binding.

moderatemisbehaviour/seshy,moderatemisbehaviour/seshy