tests for privileged_self