Added more tests for the population and types modules