Test various OSHI functions causing possible leak