[PATCH] mlang/tests: Add some return value checks (Coverity)