adds one() tests

removes undefined checks
updates uglify task for source map root dir fix
minor formatting