tests: add test coverage for uci export with -P option.