Add test for acting as invalid uid