Basic unit tests for remote_user scope