Police said they knocked repeatedly and identified themselves before entering Taylor’s apartment, according to testimony