some further work on introduction to mock framework