moves test token to earlier in code