Fix acceptance test syntax to expect