Fix compute tests for cells

Turns some tests into unit tests.