check only whether sort is defined or not, as sort may be zero under the new query planner introduced in SQLite 3.8.0
don't use done_testing when Test::More 0.47 is required