tests for all modes
update documentation
Merge pull request #1214 from ajaxorg/test_all_modes

tests for all modes