rewrite BuildImageCommandTest using a task oriented approach ... now to focus on logic before implementation