added unit tests for version entity