Fixed potential fails in tests