Add test for when page name is an array