Adds test for page.name
Adds handling nested dirs for page.slug