Removed api set api key call
Added set api key tests and updated comments