Adding some tests for proxy director fn