added test case for unless bug