Tests for all java types.