add spies to the example