added unit test for setting apikey header name