Change feature generator spec to use expect syntax