Added tests for spec.
Added test for listener context.
Added missing hasOwnProperty checks.
1.2.1