had test