Move cryptex mock to api mock module