Write UI IndexRouter tests fixes #45