Abstracted some methods for testing kuberam mojos.