Integration test for #51 to ensure it doesn't get broken in future