Testing populate()