Upgraded to ownCloud 7 and fixed test