Implemented test for authenticated method