unit test CWErrorSet() check
unit test CWErrorSetV() nil set test
move set to common point for both tests
move set to common point