refactor question spec