CMS-2607 Create tests for Javascript classes in portal. Added more requirejs tests.