would be nice to add a test to ensure this