func randomString(length int, probabilityOfEmpty float64) string {
	const charset = "abcdefghijklmnopqrstuvwxyz" +
		"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
	if rand.Float64() > probabilityOfEmpty {
		res := ""
		for i := 0; i < length; i++ {
			res += string(charset[rand.Intn(len(charset))])
		}
		return res
	}
	return ""
}
randomString generates a random string of a fixed lenght with a probability of an empty string
package prospector
import (
	"encoding/json"
	"fmt"
	"io/ioutil"
	"math"
	"math/rand"
	"reflect"
	"sort"
	"testing"
)
const TSTPath string = "tst"
func assertNearEqualFloat64(expected float64, observed float64, name string, epsilon float64, t *testing.T) {
	if math.Abs(expected-observed) > epsilon {
		t.Errorf("%s was expected to be %f and  it is %f,whic is further than %e from it.", name, expected, observed, epsilon)
	}
}