Add tests to cover symlink behaviours