Fixed. Create test page and static handler only in debug mode