add unit test for newly added flag: skip
Merge branch 'issue803' into 1.7.x