add hardware test method