[js]: Added testCommand method to WebLabJS lib