Fixed mem leaks with managers
Fixed loading of uinttest.so on linux
Fixed unit tests failing on linux