test indy js methods