integration: add keys API integration tests