LPS-50512 Make test synchronous