Here we could use a spy instead for the supress function