Add test for count_slices
Enable code coverage checks