fix key tests for browser

Some tests that were intended for node only were running the browser. This
update removes those tests from the browser.
Merge pull request #259 from ryanxcharles/bug/fix-key-tests-for-browser

fix key tests for browser