test(patchServices): add tests to ensure DOM functionality remains

Added tests to patch service tests to make sure that the
original functionality of the DOM APIs is protected
despite patching.

Closes #11