unit test upgrade