Test code for WearScript