i-bem: use applyNext() properly in test

/cc @dfilatov