adjusted e2e-tests for key generation