Add CheckerMock class

Also move test_basetest to tests subdir inside leap.common.testing.