validating machine image used
updated coverage
removed code duplication in EucaAgent