Add Feature annotations to document tests

Also fix the assertNoCriticalErrors function, which is used by
the bigFile test.
I think the "accepted" behaviour is to upload and show 0 sources for translation. Is this correct?