please add the mock_utils too

we made mock_utils take only the real utilities from utils.js, but not the functions that do real things.

For example, I think we should not take the real template from utils.js, but rather check that the good functions were called with the right arguments.