Fix a typo

And a test for each chain class