This change refactors how the dependent libraries are loaded during unit tests, and load the libraries in the base spec_helper to avoid duplicate and redundant implementations. Change-Id: Iaa74d6b229fdf5089983c5b9f99341fa9f5cd671