test that .process returns the correct value in all cases