Fix method-order dependent test.
Updating dependencies.
Removed unused import.