Fix races in cells extension tests

A global was used for a cell list and tests would update this global and
fail depending on order run, etc.

Fixes bug 1235399

Change-Id: Ib06cfc89076e87ac3cfedd796687059862f20406