Don't export tga-symbols.
Moved tga testing code to its own function.
Don't export tga_test either.