Correct bugs in pdp
Add assert
Add tests for lupa in NS3