Tests for Chain class

added tests for the Chain class.


phpDocumentor has as coding standard that all tests should have an @covers annotation to accurately reflect which methods are intentionally tested; I am missing that here