Resolve urls correctly on pages
Add inital test suits

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>