Fixed to use tests in before instead of next.