fix unit test for stable version