added pretty links (ie. permalinks) for new pages and updated tests