This is better than before but you should only test what you have applied in each test. Here you are relying on the mock already containing a: b, c: d - but the mock is a se[arate module which may change