\documentclass[twocolumn]{testsuite}
\usepackage{fontspec,moreverb}
\begin{document}
\setmainfont{texgyretermes-regular.otf}
\setmonofont{Inconsolata.otf}
\begin{listing}{7}
testing spaces
\end{listing}
\begin{listing*}{7}
testing spaces
\end{listing*}
\end{document}