update tests for PAM