added some more test cases.