added compatibility for node tests