Test: replace [ ] with ( )