Adding support for arbitrary slice types in HasExactly()