[#76137642] Add tests for PAM feature.