Ensure tests are using old array syntax.

Made sure that all tests are using the old array syntax (prior to php
5.4) in order to maintain backwards compatibility.