some tests pass, assign bug in javagen