style fixes
change the test to test for a target dir change