added test for wrong api key