Fix image loader tests gtk

Fix for the gtk images backend failing. The extra test-cases I wrote failed on linux but worked fine on windows so I fixed them too.