path resource and exists, be_a_file and be_a_directory matchers