move umask test to core, fix chflags tests