[Minor] fixed wrong use of test scope dependency
[Minor] fixed broken test