Fix tests to use Almond/RequireJS.