Added test case for setters.