Fixed tests
Merge branch 'master' into persnusk