[haiyang] change some method to private and remove some unit test