app/test: improve feedback from test
app: copy the value of the unit

This should not have any issue, but Go's closures keep suprising me. I
believe it fixes #644. Let's see what Jenkins and Drone think about
that.