modified tester for jpeg module
fixed bug in jpeg module