tests for title sorting
updated