updated package.js
updated tests
fixed linebreaks
fixed tests
added new test
fixed expand function to pass the tests
updated readme
fixed package.js