MDL-34346 fixed missing string and correct instantiating of repositories in tests