Cell class and tests