besides a splint test, how can you determine whether hydrogen or oxygen is present?

There may be simpler ways but one is to know that hydrogen lighter than while oxygen is heavier than air. Therefore, holding an empty container over the gas, pour it "up"; that is, let the hydrogen, if it is hydrogen, flow up and into the empty container, then test it.