add testing method