minor adjustments to the tests
minor bugfix to the sorting by ctime algorithm