change default mocha reporter

1. change browser test report format to xunit, so it wont create mocha div in testing page.
2. update some tests  ( i tried mocha-related test case in arrow itself and seems good, but i think it still need to check if the formal functional test passes)