add tests
fix tests

- make Object.keys detect support in browser
add testling to package.json