added tests for checks