Add tests for setXScale()

Fix a width and height on the container div for the test page to fix
cross-browser issues and update the expected test results accordingly.