Updated test for FirstOf