Add feature spec for permalinks