Updated tests for setters and apply blocks