permalinks tests