Latency aware 3

The tests that can be utilized by jUnit along with the previous manual test.

Do note that the changes in LatencyAwarePolicy.java are not ideal. Feel free to patch this and I'll make the test cases work.