kernel: Add tests for OpenFile.