use anonymous helper module in output_spec shared examples