Moving dependency tests to unit tests.