added and integrated test class
overwrite h values directly instead of storing them in hIntermediateValues