Removed Boolean value from sorting test
Updated migration and added test case

- Updated migration of List Maximum and List Minimum: added conditional
checking whether the nodes had key functions and migrate them
accordingly
- Added a test case for the above migration
Merge pull request #1276 from ellensi/ChocoButter-2Become1

Updated migration and test cases