Support UDFs for internal plugins
Fix code style errors in tests
Enable Checkstyle for tests