Testing createClient with apiKey and/or token