Added test for the get-token stub.
Style fixes.