Fix WPSC_Region::as_array() to return what it says it does
Add tests for WPSC_Region