Tests for file attributes.