Added test case for client mode access token. Resolves #44