add and fix tests for coadd_errorweighted