modified assert to get rid of annoying minor errors.
added umask reading test and system call.
added tests for every possible file permission
added some errno tests to creat