The main purpose of a hiring a mystery guest or shopper is:

to uncover employee theft
to find ways to improve the operation
to keep employees on their toes
to catch employees when they make mistakes