Added functional test for demo page