Covers the usual surface tests and additional functionality tests which were upstreamed from existing tests in SpiderMonkey. Fixes #3131