Fixed up test regex logic
Changed test to pass back String rather than page