Test device JS