tests: Add a foreign struct signal test