mock p2ptrade works correctly