Ensure deploy key before every job; polish tests