Implemented test for .chmod()