Fixed tests version number

and added a check for version in Makefile