Updated all packages and fixed up unit tests