Tests for commons-app needs refinement