Test.java 4 r is always true