The first test case
Fix creat mode
creat uses O_WRONLY sucks me