Use valid uids for testing
Add test for acting as invalid uid
Use implicit return
Merge pull request #2977 from edwlook/CLC-4229-1

CLC-4229-1 - /act_as endpoint should only allow uid's that are valid