Added unit tests for counting alive neighbours for a cell.