fixed nightly error. nan values for density was causing problems in the test
makes test robust against slower processes
fixed the miss
Merge pull request #712 from swarbhanu/fix_test_ctdbp_nightly

Fixes the nightly build