tests: Add test for setting min/maxPwdAge