test: fix for better darwin compatibility