Make tests pass and introduce a memory leak
Since 37fbafcd the tests hasn't worked since a string on the stack was added as version for a virtual package. Instead create the version string on the heap and then simply leak it. A short running program as apk shouldn't need to worry about memory leaks.
Edited by Fredrik Gustafsson