Improves resource locations in test page, taking rather local than remote

Jira issue: WP-1289