update pkg unit tests.