Make is_modified_file a property

Looks like you forgot to make is_modified_file a property. Test succeeded because the bound method is True. Here is the fix and adopted testcase.