Add inspection to check that each when has a then (issues #18)