I will try to look for it. But you can build your own patched version. First look the point 7 of this document, ignore the text, just copy the "serial_test" function code.
Then get the full source from http://users.frii.com/jarvi/rxtx/
And finally, replace the code and Compile.