Fixes wrong path in case test page is run standalone

Jira-issue: WP-1289
Merge pull request #5 from mlasak/WP-1289

Fixes wrong path in case test page is run standalone