Testing On The Edge: Detection And Localization Of Sparse Signals In Sequence Data