Added BadReqeust exception + tests
Check for missing API key