Sorted unit test functions.