fixed unit tests
Merge branch '2.5' into 2.6

* 2.5:
  fixed unit tests
Merge branch '2.6' into 2.7

* 2.6:
  fixed unit tests
Merge branch '2.7'

* 2.7:
  fixed unit tests