update unit test according to to new 1.2 version