Make serialise_test.js more like interpreter_test.js
Make serialise_test.js more like interpreter_test.js

- Add TestOptions class and options parameter to runTest and runAsyncTest.
- Use ES6 (as per other _test.js files).

NeilFraser/CodeCity,google/CodeCity,NeilFraser/CodeCity,google/CodeCity,google/CodeCity,google/CodeCity,NeilFraser/CodeCity,NeilFraser/CodeCity