Set dependency scope test to unit test libraries

Change-Id: I0d8e9897cc3a3693a76e7ebb1270a88cea9416cf