added tests for Chain type