add tests server side problem.js