PAM unit tests.