added basic tests for Sort