Added baseline tests for sort and megamorphic cases.