added tests for isNodeRed & isNodeBlack