Adapted Mozilla SpiderMonkey default arg tests.