Fixes occasionally failing test re-instated from non-working dir.