Added test cases to checkstyle check.