Add unit test for the os module.