Fixes #1025
Many fixes for unit tests on #972 and #971; Fix orderby usage in Pods::field