Add editor testing boilerplate with requireJS