Changes to fiona and app tests

Fiona's results are ambiguous, thus the result of `compute_gain` is evaluated.