Testing for wrong directory.