Hopefully fixed test by trimming output