Merge "Unit tests for LinkKey and Criteria classes."