Added two separate test cases.