minor changes
added PreservedFunctionalAttributes metric and tests