made it run also in node not only in test