Some basic tests for .set method.