Tests for Chain class

added tests for the Chain class.


Excellent approach; no doubt about this :)