Replaced [ ] with array( ) in test case