Update bug in unit test