Add attribute modifications to tests