Syntax error in test/page-test.js