Add tests for single-document population transforms

Signed-off-by: Ian Macalinao <me@ian.pw>