makes page title dynamic using provide and tests the title