Add tests for Package ordering