tests for double hyphens