Add a test for legacy options