Added test cases and updated README