Tests on separate js files