VM JS tests