Updated test_build_file and BuildFile.ancestors(), other feedback from review