Fix test env.
Remove duplicated dependencies.