added some unit tests and updated some packages