changed test to be able to run it without gtk