Allow the use of different displays for functional test

Using the DISPLAY variable allows a less "obnoxious" running of
tests in an Xserver, preventing popup windows and accidental
interaction with a running test environment.