Replace stub! by stub in all tests, as it has been deprecated