Running "npm run test:functional" uses different argument&commands and yields different result compared to running functional test via debugger