adding a few tests for test_file is_file is_dir is_writable
refactoring TestIsLink