few test cases and did some testing