Add test with js in correct file