Update js-testing.md

More descriptions and examples under the different testing strategies.