def METHOD_NAME():
    a = InstrumentA()
    # test that metadata is correctly retrieved
    md = a.get_metadata()
    assert md == instrumentA_default_metadata, "Error getting metadata: {0}".format(md)
    md = a.get_metadata(include_default_names=False)
    assert md == {}, "Error getting metadata (should be empty): {0}".format(md)
    md = a.get_metadata(property_names=['gain'], include_default_names=False)
    assert md == {'gain':2}, "Error getting metadata (should be just gain): {0}".format(md)
    md = a.get_metadata(exclude=['integration_time','gain','description'])
    assert md == {'empty_property':None}, "Error getting metadata (should be just gain): {0}".format(md)