New population target table based transition model.

And some test refactoring.