Fix ActiveSync tests

r? @asutherland: This mostly fixes the ActiveSync tests (minus the HTML tests) and adds some helpful documentation (which you've already reviewed).