update tests depending on part class naming
Reflection needs this information to work for local classes and anonymous objects