[TEST][CHECKSTYLE] Add new test. Fix some checkstyle warning.