Tests for issue #359

Added some tests for issue #359: conflict with functional and simple brackets.