do some testing for java basic type