split the tests as well
Added tests for Chains
Fixed the StrBuf -> String issue
Fixed the way chains are handled. They work now.