fixed test case and updated README