fix for containers
added more java tests, tests for int[] types