Fix unit tests
Merge branch '1.0' into 1.1