Test library that can be run in two modes: once to generate outputs and secondly to compare against them