Added Unit test for checks