Added test case to ensure we raise ValueError for unsupported gender values