Added test for isDOMNode utility