Specify more direct ant target for compiling test files.
Fix use of deprecated RuntimeHelpers.