Versions unit test

Need a review.