Add test for static pages

We need to write javascript test spec for static error pages. But as those are served by NGinx and all resources JS, images, CSS are also static and written in html it makes to write test for those page harder. There is already a tech debt issue #27860 (closed) to bundle the JS and CSS files.