Added simple tga loader for use with testcase