Fix podman_quadlet_build and write unittests (#1027)