tests: only do the sharing test with ownCloud6

set the environment variable SERVER_VERION=owncloud6 to have the full
test running. Fix required to make Jenkins go green.