WEB: Fix test to decide which compatibility layout to use