Added some tests for the Population type and related methods, and added a custom error handler that gives colored output