rewrote the extension test cases to use jasmine and simplified the
assertion syntax