Minor adjustment of memory tests, be more forgiving

The Travis environment seems to differ sligthly in memory reporting from
the environment used so far.