add feature test with js