Remove optional dependency used in test.
