fix junit test timing