rebuild test method