Updated library to fix bugs.
Fixed typo in test.