Tests splitted and fixed; VERSION file introduced to support buildbot