Update license header, use early return for if statements and guard tests against failure when running against a single node instance.
Update license header, use early return for if statements and guard tests against failure when running against a single node instance.