[web] add test for datadir-url option (related to #5204550) [applied]