Fixes for small colour variations in tests

https://github.com/notmasteryet/jpgjs/pull/24
Merge pull request #4517 from yurydelendik/jpgjs24

Fixes for small colour variations in tests