Add viewport.js to test.html so tests get run. Use built-in Point functions. Add a helper function to get a random number.