Working example with mock and fake test.