added unit testing with testthat to mcFilter; debugged call_mclapply