Remove bogus semicolon in "define module %testworks;" -- found by DeftIDEA!
Make component-result-type(<test-unit>) return <test-unit-result>.