Refractor tests, separate functionality into indiv tests.
Fix RGB256 returning alpha in 256
Add test bad input, TODO