Improve tests script.
Improve tests script.

Only kill the just started Xvfb and herbstluftwm.
Run the main_test creating all necessary stuff before doing anything else.

karlch/vimiv,karlch/vimiv,karlch/vimiv