add tests and outs