Bug 1072493 - Add initial testing suites

Supersedes #2770 to move the tests and improve the docs.
This will always fail on a blank vm, and the message isn't very helpful: `AssertionError: expected false to be true`. Maybe `assert.isTrue(arr.length > 0, "No demo slider items found.")