added a test verifying retrieving a descriptor.
Fix for multi-configuration project. Added tests for NodePreferenceScoringRule.