refactored application_helper test to be more robust with wiki pages