Fixed some unit tests
Merge branch 'master' of github.com:n2cms/n2cms