wrote tests for dojo/keys

Wrote tests for dojo/keys.  Requires require.undef() (see PR#50) to modify the state of dojo/has.