Added tests for bracket syntax.