Fix unit-tests were logic was reversed.