adding attr_accessors required for tests has broken cropping functionality, now fixed, trying to find a workaround for tests