#160 Added tests to pageview api for allowing context