Fix typo in DAp class name.
Fixed phase integral; updated tests.