fix unit tests
Merge remote-tracking branch 'sonata-project/master'