Some more tests and stuff, the IMG library is used