Move tests for AbstractArraySubject into its own class, and add/fix javadocs.