config: GetInt and GetString methods with tests