The witness said that he heard two bullets being shot before he noticed two men running down the street
The sentence contains both, reported speech and sequel of actions. Therefore I believe that pluperfect tense should have been used, however, this sentence origins from a C2 - Level English book, therefore I am confused.