An ecdf and update of tests