Lead detective testifies in gas station murder trial