fix tests for node versions