Updated tests
Fixed duplicate (parent, slug) bug and more

- wrote get_url for page
- wrote tests