Our test chain is used in core,rpc and (in future) interop packages. It is better to have all related declarations in one place to avoid code duplication.