added tests for the cells factory