testing of nodejs functionalities