Get rid of deprecated method usage in WikipageEntityLookupTest

Change-Id: I7ac1d7aa1004ab2ad8a8de1c8debf9557b40dbd2
Merge "Get rid of deprecated method usage in WikipageEntityLookupTest"