add cpp test support and java prep