Update array docs to PSR-5

This introduces tests for #34