added some testing cases