Added the method of the address provider into test controller.