Fixed formatting in CellularAutomata and fixed tests