make API tests pass through generic array constructor
route more test arguments through array constructor
tests and fix for equals on scalars