fix test problems due to new sync/async in iPOJO