Use the hasItems matcher instead of is to match a list, avoiding ordering problems

Signed-off-by: John May <john.wilkinsonmay@gmail.com>