Minor changes in testHit. Bugfix.