add more tests for mirror protocol