Test circuit and test method of semiconductor apparatus