Test code 'Mocking library'