GetIndexUrl test fix

- Fixed all GetIndexUrl argument counts (added refresh argument)
- Added GetIndexUrl test with refresh false argument