Fix broken tests

Bug 37947046

Error prone discovered that tests were not actually
testing anything. The broken tests had the logic reversed
from what the actual code does, so the tests were fixed
to test for what is expected to happen.

Test: ran fragment tests
Change-Id: I814ec58a3d841c6f888879286f1aa587bbd7a341
1 file changed