Added test cases. Added README.