tests(cropper): add cropper unit tests

- [x] cropper unit tests
- [x] camera unit tests

Fixes #1460.
Fixes #1457.

@vladikoff r?