Asda said its trial was part of an increasing trend for retailers to look at more flexible patterns of work