added test for addOrderby method, ref #90