Fix missing method for inherited classes and fix test

Fixed a missing override of hasNestedContent to allow child classes to correctly override. Also, changed the way that the test for the property file created the file to help with Windows locking issues.