moved generic spec to expect syntax