Fixing test by adding a strip instead of comparing the raw string