Added a test.
Edited readme