Change a test to not trigger SONARJAVA-402