move mock to its own file

move mock to its own file