fixed empty condition inside reference test.