Added testing for more java types.