* fixed typehint inheritance
* small fixes in tests