fix test when __version__ is not present