Fixed importing of lib in tests, removed example use case from index.js, added it to README