Fixed add function so it now handels long delimiters inside [].  Made tests for long delimiters.