unit test for operation of check

Change-Id: I400c050c1becdf2bd118f6f9eac7a8f804dcb931