test to make sure directory is correctly linked