Add test case for brackets() that will be stripped, and a double dot that should be reduced to a single dot