refactored the type representation and the tests in NSGA_II