fixes an error in the test message
Merge branch 'issue18-checkvalidity' into v1.3