adding testcases for resizing strategies
Correcting internal details for save-as and response json which indicated wrong colors. Fix #62.