Fix installed tests to look load the right files

When running from the source checkout we want to setup the tests
to load the lang and style files from the source data dir, with
installed tests instead we want to use the ones installed in the
real XDG dir.