Refactored the firing of the stages out.
Changed loop to a foreach format.
Added in old test that had been merged out.
Added in jacoco profile for localhost.