fixed randomElementIn tests
added an initial population object