Added slice reading to test