little changes, ido tests for availableDate