Add unit test for directed exposure calc.