Add $img-size() tests
refactor assert
0.11.0