Finished test suite.
Added tests for ordering.