WIP - tests for Chain class

added tests for the Chain class.