added example test to jsapp