add test for creating a new chain