Added test cases 5 thru 7