tests: moved test cases related to giving mock a name