Tests for Chain class

added tests for the Chain class.


Excellent test!