complete Coa crud create and fix test class db constraint