fixes for _getConditions test case