Add some dependencies for extension unittests

Change-Id: I35a52d150b5a36c455dd850ff4b0d91e1cc0c77a