Testing samples of nodejs