Fixed failing test due to intellij refactoring issue