use jhr fork of bats which reports output
implement #3 with tests