Add tests for direct dependencies + one coming from attachTo phase
Tests for building dependencies map from attachTo annotations