improved test_read_schematics