fixed hex testing and removed precomputation from OBDCommand constructor