I tried to run the qunit tests from a labs vagrant instance, with the roles commons and wikidata enabled.
This failed until I added
$wgResourceLoaderMaxQueryLength = 4096;
to the LocalSettings.php with the error
414 Request-URI Too Large (nginx/1.5.0).
Should there be some sane default for $wgResourceLoaderMaxQueryLength instead of the current unlimited?