Added tests for defaults.js.
Updated package version and fixed some spaces.