Hardhat testing