Added test for get latest version.