adding slice shim in test util