change tests to test DIR