fixed test cases for examples in readme