fixed tests around order and size