Seems it will sometimes raise AssertionError.