Checking the reliability of opacity databases