Stability And Testability: Groups And Codes