Eloquent JS testing