merged api change to support thumb
added tests deps
Merge branch '4_with_tests' into 4.99_api