add interface IMine and IMine test.