Ensure that .process return the method return

Add tests to ensure we dont swallow the returning value on `process` method.

review @matthewd @rafaelfranca

related #14903