Add test with js