Added addCells and tests.