better style api keys tests