test: tidy.
app: corrected args constness.