Fix token scanning test to work on AMD driver.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>