Handle lazy dependecie triggers. Add linked trigger tests. Test cleanup.