TEST: wrote tests for ecdf.py