Tests for Chain class

added tests for the Chain class.


With this test I am also missing an @covers annotation