fixes #6 commonjs
finals tests for new shortcut method