Added ComponentResolver test.