Fix failing array test by adjusting the template to properly handle arrays on old rubies. Fixes #1