add test for checking that version is set