added all possible scenarios in test case