Fixing broken registration tests for CSS selector generation