How do I test this behavior? - SolidJS