add self-test
Merge branch 'local-develop' of https://github.com/andrewleo/Dagger into local-develop