Unit tests to retrieve work orders with correct status