Test adding dependencies