fix java.lang Failures
add TestUnit
Fix warnings