tests: Add tests for afsconf_'s key functions