test method bug fixed