Add semantic version test in spec