Added tests for child trait setters.