typos in index.js were breaking exports, fixed. updated unit tests to use index.js to prevent this from happening again.