added some test cases