Starting adding test for max_by
Moved some more tests