Adds unit test for orders fetch