Fix two syntax errors in test/test.js