Fix test_workorder.py.

all_status were defined wrong and would be empty all the times. Also, the
tests for the package view doesn't need an all_status/excluded_status.

Change-Id: I21dc2963c8437340080ebaa714a51ed8a4dddf6d