Changed [ ] to array( ) in test case