Added basic tests

Added basic tests.  Many thanks to the folks at
http://www.github.com/angular/di.js after which this repo is modeled