make test more generic

fixes test for new source-map version