added testing mechanism for node in grunt