NodeJS: Add some unit tests and page test