Use relative path for data-gallery-url

Tidied up some tests too