Added tests for setter methods and custom contexts