Added tests for PiecePrioritySlice in controller_test.go