GLM test: Remove redundant transformations and reorder.