* reorganize test
* fix an bug when square cropping