Adding more basic tests for OutputRegistry, propagating exception.