DalekJS internal test helper