small fixes in unit tests
small fixes in unit tests

sharidas/core,owncloud/core,sharidas/core,sharidas/core,sharidas/core,pollopolea/core,owncloud/core,owncloud/core,phil-davis/core,pollopolea/core,pollopolea/core,sharidas/core,pollopolea/core,owncloud/core,owncloud/core,pollopolea/core