[1.0.3] Add more tests, comments and fromGrayscale