gc-test: allow also 2 allocations (needed on certain platforms)