add version check to test