Fixed missing parenthesis on `return` more use of constant in case test,
modified case-test to deal with additional Puppeteer position