Actually test sorting in Elixir grade-school

@gvauhn found that simply returning the db in the sorting test works as well.
This fixes that loophole.