Testing that the token is written to disk