Added exception object
Added test and newestVersion method for version model