Completed test coverage and fixed some bugs. Added a description to README.